package com.jswlw.controller.api.resp;

import com.jswlw.common.BaseApiResponse;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.*;

import java.util.Date;

/**
 * @author 吴维斌 E-mail:wuweibin0817@163.com
 * @version 创建时间：${date} ${time}
 */
@ApiModel(description = "API-套餐列表响应对象")
@Data
@EqualsAndHashCode(callSuper = false)
public class UserInfoResponse extends BaseApiResponse {

    UserInfoData data;

    @Data
    @Builder
    @NoArgsConstructor
    @AllArgsConstructor
    @EqualsAndHashCode(callSuper = false)
    public static class UserInfoData {
        @ApiModelProperty(value = "姓名", required = true, example = "12asfasfas")
        String userName;
        @ApiModelProperty(value = "电话", required = true, example = "12asfasfas")
        String tel;
        @ApiModelProperty(value = "地址", required = true, example = "12asfasfas")
        String address;
        @ApiModelProperty(value = "绑定时间", required = true, example = "2019-09-09")
        String bindTime;
    }
}
